package com.wangxiang.sys.manage.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wangxiang.sys.manage.dao.TokenDao;
import com.wangxiang.sys.manage.entity.TokenEntity;
import com.wangxiang.sys.manage.service.TokenService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service("tokenService")
public class TokenServiceImpl extends ServiceImpl<TokenDao, TokenEntity> implements TokenService {
    @Autowired
    TokenDao tokenDao;
    @Override
    public void updateToken(TokenEntity token) {
        System.out.println("tokenService处token.class状态==="+token);
        tokenDao.updateById(token);
    }
}
